package com.joyintech.vo.policyInquiry.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Line {

    /**
     * 产品编号
     */
    @JacksonXmlProperty(localName = "pdCd")
    private String pdCd;

    /**
     * 产品名称
     */
    @JacksonXmlProperty(localName = "pdNm")
    private String pdNm;

    /**
     * 险种代码
     */
    @JacksonXmlProperty(localName = "cvrCd")
    private String cvrCd;

    /**
     * 险种名称
     */
    @JacksonXmlProperty(localName = "cvrNm")
    private String cvrNm;

    /**
     * 保单号
     */
    @JacksonXmlProperty(localName = "policyNo")
    private String policyNo;

    /**
     * 交易账号
     */
    @JacksonXmlProperty(localName = "acctNo")
    private String acctNo;

    /**
     * 缴费方式
     */
    @JacksonXmlProperty(localName = "paySty")
    private String paySty;

    /**
     * 缴费期间
     */
    @JacksonXmlProperty(localName = "payPrd")
    private String payPrd;

    /**
     * 保险金额
     */
    @JacksonXmlProperty(localName = "cvrAmt")
    private String cvrAmt;

    /**
     * 保费金额
     */
    @JacksonXmlProperty(localName = "cvrPremAmt")
    private String cvrPremAmt;

    /**
     * 投保日期
     */
    @JacksonXmlProperty(localName = "aplDt")
    private String aplDt;

    /**
     * 交易日期
     */
    @JacksonXmlProperty(localName = "platDt")
    private String platDt;

    /**
     * 交易流水号
     */
    @JacksonXmlProperty(localName = "platSrlNo")
    private String platSrlNo;

    /**
     * 核心流水号
     */
    @JacksonXmlProperty(localName = "hostSrlNo")
    private String hostSrlNo;

    /**
     * 交易渠道编号
     */
    @JacksonXmlProperty(localName = "chnlId")
    private String chnlId;

    /**
     * 交易系统编号
     */
    @JacksonXmlProperty(localName = "reqId")
    private String reqId;

    /**
     * 状态 0-成功 1-失败
     *             2-预登记（仅非实时会有这个状态）
     */
    @JacksonXmlProperty(localName = "sts")
    private String sts;

    /**
     * 保单来源 0-普通保单（默认）
     *             1-非实时保单
     */
    @JacksonXmlProperty(localName = "policySrc")
    private String policySrc;

    public String getPdCd() {
        return pdCd;
    }

    public void setPdCd(String pdCd) {
        this.pdCd = pdCd;
    }

    public String getPdNm() {
        return pdNm;
    }

    public void setPdNm(String pdNm) {
        this.pdNm = pdNm;
    }

    public String getCvrCd() {
        return cvrCd;
    }

    public void setCvrCd(String cvrCd) {
        this.cvrCd = cvrCd;
    }

    public String getCvrNm() {
        return cvrNm;
    }

    public void setCvrNm(String cvrNm) {
        this.cvrNm = cvrNm;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public String getAcctNo() {
        return acctNo;
    }

    public void setAcctNo(String acctNo) {
        this.acctNo = acctNo;
    }

    public String getPaySty() {
        return paySty;
    }

    public void setPaySty(String paySty) {
        this.paySty = paySty;
    }

    public String getPayPrd() {
        return payPrd;
    }

    public void setPayPrd(String payPrd) {
        this.payPrd = payPrd;
    }

    public String getCvrAmt() {
        return cvrAmt;
    }

    public void setCvrAmt(String cvrAmt) {
        this.cvrAmt = cvrAmt;
    }

    public String getCvrPremAmt() {
        return cvrPremAmt;
    }

    public void setCvrPremAmt(String cvrPremAmt) {
        this.cvrPremAmt = cvrPremAmt;
    }

    public String getAplDt() {
        return aplDt;
    }

    public void setAplDt(String aplDt) {
        this.aplDt = aplDt;
    }

    public String getPlatDt() {
        return platDt;
    }

    public void setPlatDt(String platDt) {
        this.platDt = platDt;
    }

    public String getPlatSrlNo() {
        return platSrlNo;
    }

    public void setPlatSrlNo(String platSrlNo) {
        this.platSrlNo = platSrlNo;
    }

    public String getHostSrlNo() {
        return hostSrlNo;
    }

    public void setHostSrlNo(String hostSrlNo) {
        this.hostSrlNo = hostSrlNo;
    }

    public String getChnlId() {
        return chnlId;
    }

    public void setChnlId(String chnlId) {
        this.chnlId = chnlId;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public String getSts() {
        return sts;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public String getPolicySrc() {
        return policySrc;
    }

    public void setPolicySrc(String policySrc) {
        this.policySrc = policySrc;
    }

    @Override
    public String toString() {
        return "Line{" +
                "pdCd='" + pdCd + '\'' +
                ", pdNm='" + pdNm + '\'' +
                ", cvrCd='" + cvrCd + '\'' +
                ", cvrNm='" + cvrNm + '\'' +
                ", policyNo='" + policyNo + '\'' +
                ", acctNo='" + acctNo + '\'' +
                ", paySty='" + paySty + '\'' +
                ", payPrd='" + payPrd + '\'' +
                ", cvrAmt='" + cvrAmt + '\'' +
                ", cvrPremAmt='" + cvrPremAmt + '\'' +
                ", aplDt='" + aplDt + '\'' +
                ", platDt='" + platDt + '\'' +
                ", platSrlNo='" + platSrlNo + '\'' +
                ", hostSrlNo='" + hostSrlNo + '\'' +
                ", chnlId='" + chnlId + '\'' +
                ", reqId='" + reqId + '\'' +
                ", sts='" + sts + '\'' +
                ", policySrc='" + policySrc + '\'' +
                '}';
    }
}
